package com.spring.blog.enums;

public enum ResultCodeEnum {
    SUCCESS(200),
    FAIL(-1);
    private int code;

    ResultCodeEnum(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }

//    public void setCode(int code) {
//        this.code = code;
//    }
}
